package com.imodia.checkoo.service;

import java.util.List;

import com.hsq.commons.util.db.GenericDao;
import com.hsq.commons.util.tree.TreeNodeBean;
import com.imodia.checkoo.bean.CmsPageBean;

public interface CmsPageService extends GenericDao<CmsPageBean, Integer> {

	public List<TreeNodeBean> getTreePage();

	/**
	 * showType = 2��ʾ��3����
	 * 
	 * @param siteId
	 * @param showType
	 * @return
	 */
	public List<TreeNodeBean> getTreePage2(int siteId, int parentId,
			int showType);
	
	public List<TreeNodeBean> getTreePage3(int siteId, int id,
			int showType);
	
	public List<CmsPageBean> getByCataId(int cataId);
	
	public List<CmsPageBean> list(int siteId, int parentId,int showType,int isValidate);
	
	public List<TreeNodeBean> covertTreePage(List<CmsPageBean> list,int parentId);
}